<form action="index.php?c=zy_mend_log&m={%$act%}&post=1" method=post name=frm >	
<table width="90%" name="tab_form" id="tab_form" class="tab_form" align="left" border="0" cellpadding="0" cellspacing="1">
<tbody>
<tr>
	<td width="20%" class="tab_bold">设备自编号</td>
	<td><input type=text name="mc_no" size=30 value='{%$mc_no%}'></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">设备名称</td>
	<td><input type=text name="mc_name" size=30 value='{%$mc_name%}'></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">规格型号</td>
	<td><input type=text name="mc_model" size=30 value='{%$mc_model%}'></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">数量</td>
	<td><input type=text name="mc_number" size=30 value='{%$mc_number%}'></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">预计修理费用</td>
	<td><input type=text name="mc_mend_cost" size=30 value='{%$mc_mend_cost%}'></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">修理单位</td>
	<td><input type=text name="mend_comp" size=30 value='{%$mend_comp%}'></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">维修状态</td>
	<td>
	<select name="mend_state">
	{%html_options options=$mend_state_arr selected=$mend_state %}
	</select>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">维修完成时间</td>
	<td>
	<input type=text name="mend_finsh" size=30 value='{%$mend_finsh|date_format:"%Y-%m-%d"%}' id="mend_finsh" readonly>
	<script>
			Calendar.setup({
				inputField     :    "mend_finsh",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">修造项目内容</td>
	<td><textarea name="mend_mc_info" rows="5" cols="30">{%$mend_mc_info%}</textarea></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">备注</td>
	<td>
	<textarea name="mend_info" rows="5" cols="30">{%$mend_info%}</textarea>
	</td>
</tr>


<tr>
	<td colspan=4 align=center>
		<input type=hidden name="mc_mend_id" size=30 value='{%$mc_mend_id%}'>
		<input type=hidden name='mend_log_id' id='mend_log_id' value='{%$mend_log_id%}'>
		<input type=submit value="提交" class="btn_form">&nbsp;&nbsp;
		<input type=reset value="重置" class="btn_form">
	</td>
</tr>
</tbody>
</table>
</form>